Bug 2034168 explicit permission for file access#44328
Conversation
|
Preview URLs (4 pages)
External URLs (1)URL:
(comment last updated: 2026-06-04 23:14:18) |
pepelsbey
left a comment
There was a problem hiding this comment.
Looks good! Thank you 🙂
Not sure if it’s a technical review or an editorial one (it would be good to separate those), but I have a few suggestions.
There was a problem hiding this comment.
@pepelsbey thanks for the feedback. However, this file shouldn't be in this PR, it's in Add use of declarativeNetRequest to the "Intercept HTTP requests" guide #44301 I'm addressed your feedback there and will be removing this file from the PR shortly
| - : Retrieves the state of the extension's access to tabs opened in "private browsing" mode (as determined by the user-controlled '_Run in Private Windows_' option in the extension's permissions). | ||
| - {{WebExtAPIRef("extension.isAllowedFileSchemeAccess()")}} | ||
| - : Retrieves the state of the extension's access to the `file://` scheme (as determined by the user-controlled '_Allow access to File URLs_' checkbox). | ||
| - : Retrieves the state of the extension's access to the `file://` scheme (as determined by the user-controlled '_Access local files on your computer_' option in the extension's permissions). |
There was a problem hiding this comment.
This is Firefox-specific. The original one was Chrome-specific.
Can we somehow mention both? That helps devs to relate different concepts in different browsers to each other.
Description
Addresses the dev-doc-needed requirements of Bug 2034168 Add explicit permission for file:-access and implement extension.isAllowedFileSchemeAccess()
Changes include:
falsein Firefox (this and new behavior details now in BCD). Other tidy up edits.isAllowedFileSchemeAccessand update permission details regarding private windows forisAllowedIncognitoAccess.Related issues and pull requests
Relating BCD changes in mdn/browser-compat-data#29776